ABA Prevention Using Single-Word Instructions

نویسنده

  • Maged M. Michael
چکیده

The ABA problem is a fundamental problem that affects almost all lock-free algorithms. The atomic primitives LL/SC/VL (Load-Linked, Store-Conditional, Validate) offer a convenient way for algorithm designers to reason about lock-free algorithms, without concern for the ABA problem. However, for practical architectural reasons, no processor architecture supports the ideal semantics of LL/VL/SC. It is relatively easy to implement LL/SC/VL—and prevent the ABA problem—using double-word atomic instructions. However, most current mainstream 64-bit architectures support only single-word atomic instructions. The best known constructions of LL/SC/VL using singleword instructions entail substantial space overhead when applied to a large number of memory locations, and require knowing the maximum number of threads in advance. This report presents simple lock-free constructions using only practical single-word instructions for implementing ideal LL/SC/VL, and hence preventing the ABA problem, with reasonable space overhead. These constructions can also be used to implement arbitrary width atomic operations.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Architectural Enhancements for Fast Subword Permutations with Repetitions in Cryptographic Applications

We propose two new instructions, swperm and sieve, that can be used to efficiently complete an arbitrary bit-level permutation of an n-bit word with or without repetitions. Permutations with repetitions are rearrangements of an ordered set in which elements may replace other elements in the set; such permutations are useful in cryptographic algorithms. On a 4-way superscalar processor, an arbit...

متن کامل

Measured Effects of Adding Byte and Word Instructions to the Alpha Architecture

were limited in their ability to manipulate data values at the byte and word granularity. Instead of allowing single instructions to manipulate byte and word values, the original Alpha Architecture required as many as sixteen instructions. Recently, DIGITAL extended the Alpha Architecture to manipulate byte and word data values with a single instruction. The second generation of the Alpha 21164...

متن کامل

Word concreteness and encoding effects on context-dependent discrimination.

In three experiments, we investigated the effects of word concreteness and encoding instructions on context-dependent discrimination in verbal contexts, using Murnane, Phelps, and Malmberg's (1999) ICE (item, context, ensemble) theory as the framework Word concreteness was manipulated within participants, and encoding was manipulated between participants. It was hypothesized that the magnitude ...

متن کامل

The effect of math education on increasing math skills in children with autism using ABA method

Objectives: Mathematics is one of the most important areas of the educational structure for students with severe and multiple disabilities, including autism. Acquiring math skills for children with autism is much more difficult than reading and writing. These children have more difficulty processing mathematical information than reading and writing. Limitations in the field of identifying effec...

متن کامل

Kinetic Characterisation of a Single Chain Antibody against the Hormone Abscisic Acid: Comparison with Its Parental Monoclonal

A single-chain Fv fragment antibody (scFv) specific for the plant hormone abscisic acid (ABA) has been expressed in the bacterium Escherichia coli as a fusion protein. The kinetics of ABA binding have been measured using surface plasmon resonance spectrometry (BIAcore 2000) using surface and solution assays. Care was taken to calculate the concentration of active protein in each sample using in...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2004